﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AJAXTreeViewControl" Namespace="AJAXTreeViewControl" TagPrefix="ATVC" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>AjaxTreeView sample site</title>
    <link href="Site.css" rel="stylesheet" type="text/css" />
    <link href="TreeView.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="pageContainer">
        <form id="form2" runat="server">
        <asp:ScriptManager ID="ScriptManager2" runat="server">
            <Services>
                <asp:ServiceReference Path="AjaxTreeViewLoader.asmx" />
            </Services>
        </asp:ScriptManager>
        <div id="topPane">
            <h1>Ajax Tree View</h1>
        </div>
        <div id="treePane">
        </div>
            <ATVC:AjaxTreeView runat="server" ID="theTreeGoesHere" AjaxWebServiceMethod="AjaxTreeViewLoader.GetTreeViewNodes"
                LoadingImageUrl="indicator.gif" TreeContainerID="treePane">
            </ATVC:AjaxTreeView>
        <div id="contentPane">
        <asp:Label runat="server" ID="lblContent"></asp:Label>
        </div>
        </form>
    </div>
</body>
</html>
